import request from '@/utils/request'
export const userInfoPage = (page,limit,searchObj)=>request({
  url:`/admin/core/userInfo/list/${page}/${limit}`,
  method:'get',
  params:searchObj 
})
export const lockOrUnLock = (lockOrUnlock)=>request({url:'/admin/core/userInfo/lockeOrUnlocke',method:'put',params:lockOrUnlock})
export const getRecord = (userId) =>request({url:`/admin/core/userLoginRecord/getTop50ById/${userId}`,method:'get'})